package com.caldremch.androidcomponent;

import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends BaseActivity {


    @Override
    protected int getLayout() {
        return R.layout.activity_main;
    }

    @Override
    protected boolean isNeedLoad() {
        return true;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {
        new Handler(getMainLooper()).postDelayed(new Runnable() {
            @Override
            public void run() {
                onLoadErr();
            }
        }, 3000);
    }

    @Override
    protected void initEvent() {

    }
}
